# Maintainer: Jinming Wu, Patrick <me@patrickwu.space>
# Contributor: Jinming Wu, Patrick <me@patrickwu.space>
pkgname=wslu
pkgver=3.1.0
pkgrel=0
pkgdesc="A collection of utilities for Windows 10 Linux Subsystems"
url="https://wslutiliti.es/wslu"
arch="noarch"
license="GPL-3.0-or-later"
depends="bc bash-completion imagemagick grep"
makedepends="gzip"
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/wslutilities/wslu/archive/v$pkgver.tar.gz"
options="!check" #tests can be only run on a distro running on WSL(Windows Subsystems for Linux) environment, hence disabled

build() {
	make
}

check() {
	make test
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="39dd980b91f8cc83f66492f28cb7f4b1a6035a7859c76616afc55be6e22a5536f1d12c57d4e92be087d854ccf14304336ccfff8df93869e2a0a8c54494e28c98  wslu-3.1.0.tar.gz"
